i've made a try, but i can't figure why is not working... i've made a switch called "Box", checked it on a couple of articles and i have added that code to my template:
{{ list_articles length="1" constraints="Box is on" order="byPublishDate desc" }}
to show the last article that must go to the box, but the box is empty. If i take out the constraint, the last article is showed on the box.
There is anything i must take care during upgrade? Which is the best practice to do that? I can't afford a downtime on the server if something goes wrong
1- Backup your current site files and data. Use campsite-backup to do it.
2- Download and unpack 3.3.3
3- Stop Apache
4- Copy 3.3.3 files overwriting current 3.3.2 ones.
5- Make Apache user owner of files: chown -R www-data:www-data /your/path
(www-data is the apache user in Ubuntu installations, modify it if
necessary to fit your platform)
6- Start Apache
7- Open home page for your site, upgrading will take action at this
moment and that is it.
Another way to upgrade is:
1- Make a backup with campsite-backup
2- Remove all Campsite
3- Install 3.3.3
4- Restore backup with campsite-restore (use option -e)
Either work fine.
You should run this process in a time of low load for your site as you
need to stop the web server to avoid any upgrade failures. It will
take only a few minutes (depending on backup size).
Best,
On Thu, Dec 17, 2009 at 8:50 AM, wrote:
> Author: Terix
> Link:
I suggest to do a test: install the site on a test system running Campsite
3.3.2 and do an upgrade. If any issue should arise you can see it on the
test system. Although 3.3.3 is just bug fix version, there are no API,
structural, database or requirements changes but you should run the test
upgrade just to make sure.
Mugur
On Thu, Dec 17, 2009 at 3:50 PM, wrote:
> Author: Terix
> Link: http://code.campware.org/phorum/read.php?8,7890,7895#msg-7895
>
> --------------------------------------------------------------------------------
>
> There is anything i must take care during upgrade? Which is the best
> practice to do that? I can't afford a downtime on the server if something
> goes wrong
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>
yes i was thinking the same, my only doubt is that i can't recreate the same system of my hosting partner, so i can't be 100% sure that if it works on my test machine, it will work on the production one... if i would like to fix just the switch issue for now, where i can find informations to do that? Or that fix is not an easy one to fix by hand and an upgrade is mandatory?